Optimal. Leaf size=39 \[ -\frac{i \sqrt{-\cosh ^2(x)-1} E\left (\left .i x+\frac{\pi }{2}\right |-1\right )}{\sqrt{\cosh ^2(x)+1}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0210998, antiderivative size = 39, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 12, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.167, Rules used = {3178, 3177} \[ -\frac{i \sqrt{-\cosh ^2(x)-1} E\left (\left .i x+\frac{\pi }{2}\right |-1\right )}{\sqrt{\cosh ^2(x)+1}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3178
Rule 3177
Rubi steps
\begin{align*} \int \sqrt{-1-\cosh ^2(x)} \, dx &=\frac{\sqrt{-1-\cosh ^2(x)} \int \sqrt{1+\cosh ^2(x)} \, dx}{\sqrt{1+\cosh ^2(x)}}\\ &=-\frac{i \sqrt{-1-\cosh ^2(x)} E\left (\left .\frac{\pi }{2}+i x\right |-1\right )}{\sqrt{1+\cosh ^2(x)}}\\ \end{align*}
Mathematica [A] time = 0.0391654, size = 40, normalized size = 1.03 \[ \frac{i \sqrt{2} \sqrt{\cosh (2 x)+3} E\left (i x\left |\frac{1}{2}\right .\right )}{\sqrt{-\cosh (2 x)-3}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.211, size = 62, normalized size = 1.6 \begin{align*} -{\frac{{\it EllipticE} \left ( \cosh \left ( x \right ) ,i \right ) }{\sinh \left ( x \right ) }\sqrt{- \left ( 1+ \left ( \cosh \left ( x \right ) \right ) ^{2} \right ) \left ( \sinh \left ( x \right ) \right ) ^{2}}\sqrt{- \left ( \sinh \left ( x \right ) \right ) ^{2}}\sqrt{1+ \left ( \cosh \left ( x \right ) \right ) ^{2}}{\frac{1}{\sqrt{1- \left ( \cosh \left ( x \right ) \right ) ^{4}}}}{\frac{1}{\sqrt{-1- \left ( \cosh \left ( x \right ) \right ) ^{2}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{-\cosh \left (x\right )^{2} - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*} \frac{2 \,{\left (e^{\left (2 \, x\right )} - e^{x}\right )}{\rm integral}\left (\frac{4 \, \sqrt{-e^{\left (4 \, x\right )} - 6 \, e^{\left (2 \, x\right )} - 1}{\left (e^{\left (2 \, x\right )} + 1\right )}}{e^{\left (6 \, x\right )} - 2 \, e^{\left (5 \, x\right )} + 7 \, e^{\left (4 \, x\right )} - 12 \, e^{\left (3 \, x\right )} + 7 \, e^{\left (2 \, x\right )} - 2 \, e^{x} + 1}, x\right ) + \sqrt{-e^{\left (4 \, x\right )} - 6 \, e^{\left (2 \, x\right )} - 1}{\left (e^{x} + 1\right )}}{2 \,{\left (e^{\left (2 \, x\right )} - e^{x}\right )}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{- \cosh ^{2}{\left (x \right )} - 1}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \sqrt{-\cosh \left (x\right )^{2} - 1}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]